home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Msgs / h / MsgsDefs
Text File  |  1995-07-08  |  556b  |  26 lines

  1. #ifndef __dl_Core_h
  2. #include "DeskLib:Core.h"
  3. #endif
  4.  
  5.  
  6. typedef struct msg_def *msgdefptr;
  7.  
  8. typedef struct msg_def
  9. {
  10.   msgdefptr   next;
  11.   union
  12.   {
  13.     char        *text;
  14.     msgdefptr   taglist;
  15.   } data;
  16.   char        tag[10];
  17. } msg_def;
  18.  
  19. extern msgdefptr msgs_grouplist;
  20. extern BOOL Msgs__MatchToken(char *tag1, char *tag2, BOOL wcallowed);
  21.  
  22. extern msgdefptr Msgs__Find(msgdefptr *liststart, char *tag,
  23.                             BOOL create, BOOL wcallowed);
  24.  
  25. #define MatchTokenI(t1, t2) (((int*)t1)[0]==((int*)t2)[0] && ((int*)t1)[1]==((int*)t2)[1])
  26.